﻿<phone:PhoneApplicationPage 
    x:Class="Wulong.Phone.Qiushi.Views.AboutUsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False"
    Style="{StaticResource TransitionPageStyle}">

    <phone:PhoneApplicationPage.Resources>
        <Style x:Key="AboutUs_TB_Style" TargetType="TextBlock">
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="Foreground" Value="Black"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="Margin" Value="5"/>
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
            <Setter Property="Width" Value="220"/>
            <Setter Property="Grid.Column" Value="1"/>
        </Style>
        <Style x:Key="IconStyle" TargetType="Image">
            <Setter Property="Width" Value="48"/>
            <Setter Property="VerticalAlignment" Value="Top"/>
            <Setter Property="HorizontalAlignment" Value="Left"/>
            <Setter Property="Grid.Column" Value="0"/>
        </Style>
    </phone:PhoneApplicationPage.Resources>
    
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <ImageBrush ImageSource="/images/aboutus.jpg"/>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Foreground="White" x:Name="ApplicationTitle" Text="{Binding Path=AppI18N.App_Title, Source={StaticResource ls}}" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock Foreground="White" x:Name="PageTitle" Text="{Binding Path=AppI18N.V_Main_AppBar_About, Source={StaticResource ls}}" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <StackPanel x:Name="AboutUsPanel" Grid.Row="0" Grid.ColumnSpan="2" Margin="12,17,0,28" Width="320">
                <TextBlock Text="{Binding Path=AppI18N.App_Author, Source={StaticResource ls}}" Foreground="Black" FontSize="32" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="5"/>
                <StackPanel Orientation="Horizontal" >
                    <Image Style="{StaticResource IconStyle}" Source="/images/appver.png" />
                    <TextBlock Style="{StaticResource AboutUs_TB_Style}" Text="{Binding Path=AppI18N.V_About_Ver_Value, Source={StaticResource ls}}"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal" >
                    <Image Style="{StaticResource IconStyle}" Source="/images/email.png"/>
                    <TextBlock Style="{StaticResource AboutUs_TB_Style}" Text="{Binding Path=AppI18N.V_About_Email_Value, Source={StaticResource ls}}"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Image Style="{StaticResource IconStyle}" Source="/images/twitter.png"/>
                    <TextBlock Style="{StaticResource AboutUs_TB_Style}" Text="@wpcfan"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal" >
                    <Image Style="{StaticResource IconStyle}" Source="/images/weibo.png"/>
                    <TextBlock Style="{StaticResource AboutUs_TB_Style}" Text="@接灰的电子产品" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Image Style="{StaticResource IconStyle}" Source="/images/me.png"/>
                    <TextBlock Style="{StaticResource AboutUs_TB_Style}" Text="{Binding Path=AppI18N.V_About_Me_Value, Source={StaticResource ls}}"/>
                </StackPanel>

                <HyperlinkButton TargetName="_blank" NavigateUri="http://wulongqiushi.codeplex.com" HorizontalAlignment="Center" Content="{Binding Path=AppI18N.App_Support, Source={StaticResource ls}}" Foreground="Brown" FontSize="14" Grid.ColumnSpan="2"/>

            </StackPanel>
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>
